<?php

use Biz\service\GoodsDetail;
use Biz\pockets\constInterface\ActivityInfo;

/**
 * @deprecated
 */
class ActivityListAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {

        $typeId = $this->getRequest()->getQuery('type_id', ActivityInfo::ACTIVITY_TYPE_FULL_SHIPPING);
        $goods_id = $this->getRequest()->getQuery('goods_id', 0);
        $activitysList = GoodsDetail::FullShippingList($goods_id);

        $this->setSuccess(['list' => $activitysList]);

    }

}